﻿# -*- coding: utf-8 -*-
a, b, n = 1, 1, int(input('输入一个大于3的整数n，输出斐波纳契数列的前n项\n'))
print(f'{a}\n{b}')
for i in range(2, n):
    print(a + b)
    a, b = b, a + b